package com.taobao.api.response;

import java.util.List;

import com.taobao.api.TaobaoResponse;
import com.taobao.api.domain.Group;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;

/**
 * TOP API: taobao.crm.groups.get response.
 * 
 * @author auto create
 * @since 1.0, null
 */
public class CrmGroupsGetResponse extends TaobaoResponse {

  private static final long serialVersionUID = 6678515134176288742L;

  /**
   * 查询到的当前卖家的当前页的会员
   */
  @ApiListField("groups")
  @ApiField("group")
  private List<Group>       groups;

  /**
   * 记录总数
   */
  @ApiField("total_result")
  private Long              totalResult;

  public void setGroups(List<Group> groups) {
    this.groups = groups;
  }

  public List<Group> getGroups() {
    return this.groups;
  }

  public void setTotalResult(Long totalResult) {
    this.totalResult = totalResult;
  }

  public Long getTotalResult() {
    return this.totalResult;
  }

}
